package cn.wen.rpc.provider.service.impl;import cn.wen.rpc.annotation.WenService;import cn.wen.rpc.provider.service.GoodsService;import cn.wen.rpc.provider.service.model.Goods;import org.springframework.beans.factory.annotation.Value;import org.springframework.stereotype.Service;import java.math.BigDecimal;@Service// 把GoodsService这个服务 发布，消费方 就可以进行调用了@WenService(version="1.0")public class GoodsServiceImpl implements GoodsService {    @Value("${server.port}")    private int port;    public Goods findGoods(Long id) {        return new Goods(id,"服务提供方商品 : "+ port, BigDecimal.valueOf(100));    }}